package org.spotem.dao;

import org.spotem.model.UserImpl;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRepo extends JpaRepository<UserImpl, Long> {

    public List<UserImpl> findByLogin(String login);
}
